package com.aicoq.example.stock.persist.mapper;

import com.aicoq.example.stock.persist.model.StockCategory;
import com.aicoq.example.stock.persist.model.example.StockCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockCategoryMapper {
    long countByExample(StockCategoryExample example);

    int deleteByExample(StockCategoryExample example);

    int deleteByPrimaryKey(Integer categoryId);

    int insert(StockCategory row);

    int insertSelective(StockCategory row);

    List<StockCategory> selectByExample(StockCategoryExample example);

    StockCategory selectByPrimaryKey(Integer categoryId);

    int updateByExampleSelective(@Param("row") StockCategory row, @Param("example") StockCategoryExample example);

    int updateByExample(@Param("row") StockCategory row, @Param("example") StockCategoryExample example);

    int updateByPrimaryKeySelective(StockCategory row);

    int updateByPrimaryKey(StockCategory row);
}